package com.dura.push;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @version 1.0
 * @Author 振鹏
 * @Date 2025/3/18 19:23
 * @注释
 */
@SpringBootApplication
@EnableDiscoveryClient
public class PushStarterApplication {
    public static void main(String[] args) {
        SpringApplication.run(PushStarterApplication.class,args);
    }

    @Bean
    public RestTemplate restTemplate(){return new RestTemplate();}
}
